//
//  ListenCategoryCell.m
//  JianChaRiBao
//
//  Created by yuzhou on 13-5-22.
//  Copyright (c) 2013年 wzyk. All rights reserved.
//

#import "ListenCategoryCell.h"
#import "ListenCategoryView.h"

@interface ListenCategoryCell ()
{
    ListenCategoryView *listenCategoryView;
}
@end

@implementation ListenCategoryCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        //        self.bounds = CGRectMake(0, 0, 320, 155);
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        listenCategoryView = [[[NSBundle mainBundle] loadNibNamed:@"ListenCategoryView" owner:self options:nil] objectAtIndex:0];
        [self.contentView addSubview:listenCategoryView];
    }
    return self;
}

- (void)setCategory:(NSDictionary *)category
{
    listenCategoryView.category = category;
}

@end
